package com.qfedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * user_id
 * user_name
 * user_pwd
 * user_realname
 * user_img
 * */
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
//@ToString

public class User {
    private  int userId;
    private  String userName;
    private  String userPwd;
    private  String userRealname;
    private  String userImg;

    public User() {
    }

    public User(int userId, String userName, String userPwd, String userRealname, String userImg) {
        this.userId = userId;
        this.userName = userName;
        this.userPwd = userPwd;
        this.userRealname = userRealname;
        this.userImg = userImg;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserRealname() {
        return userRealname;
    }

    public void setUserRealname(String userRealname) {
        this.userRealname = userRealname;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }


    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userRealname='" + userRealname + '\'' +
                ", userImg='" + userImg + '\'' +
                '}';
    }
}
